package com.ruoyi.alipay.fegin;

import com.ruoyi.financial.domain.TCwPaymentPlan;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient("financial-manager")
public interface PlansFegin {
    @RequestMapping(value="plans/getid",method=RequestMethod.GET)
    public TCwPaymentPlan getInfos(@RequestParam("id") Long id);


    void edit(TCwPaymentPlan plan);

    void update(long parseLong);
}
